INCLUDE_DIRECTORIES(${FLOWVR_INCLUDE_DIR})

FOREACH(comp  pbvr.comp)

  SET(components-SRC ${comp}.cpp)

  ADD_LIBRARY(${comp}  SHARED  ${components-SRC})

  TARGET_LINK_LIBRARIES(${comp} ${FLOWVR_base_LIBRARY}
                                ${FLOWVR_ftl_LIBRARY}
                                ${FLOWVR_mod_LIBRARY}
                                ${FLOWVR_app_LIBRARY}
                                ${FLOWVR_app_comp_LIBRARY}  )

  INSTALL(TARGETS ${comp} LIBRARY DESTINATION ${LIB_DIR} )

ENDFOREACH(comp)
